package thinking.java.initalization.and.clean.up.example;

/**
 * @author GaoFeng
 * @date 2019/12/31 19:25
 */
public class Ex_5_3_5_Dog {

    public static void main(String[] args) {

        Dog dog = new Dog();
        dog.bark("dont hurt me");
        dog.bark(100);
        dog.bark('A');

        // 导致一部分人的

        // 否则我觉得是一定的

        //


        /* (start < =b && start > a //第一类
        || (end > =a && end < b) //第二类
        || (start == a|| end == b) //第三类
        || (start > a && end < b) //第四类
        || (start < a && end > b) //第五类
        */


    }


    static class Dog {

        public void bark(String barkMessage) {
            // 咆哮的信息
            System.out.println("dog is barking, it say " + barkMessage);
        }

        public void bark(int barkDelay) {
            System.out.println("after " + barkDelay + "seconds, I will bark");
        }

        public void bark(char howlingChar) {
            System.out.println("The dog is howling, the char is " + howlingChar);
        }
    }
}
